package com.ruicar.afs.cloud.bizcommon.rules.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import lombok.Data;

@TableName("afs_rule_trans_express")
@Data
public class AfsRuleTransExpress extends BaseEntity<AfsRuleTransExpress> {

    /**
     * 规则ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long ruleId;
    /**
     * 转换后的表达式
     */
    private String qlExpress;
    /**
     * 保存版本;unix时间戳
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long saveVersion;
}
